setParentAmount

fun setParentAmount(newRate: Double, newParentAmount: Long)

Set the amount of the transaction in the parent account. The newRate value indicates the rate that should be used to calculate the amount of the transaction in the split account.